package router

import (
	"api/api"
	"github.com/gin-gonic/gin"
)

func Router(r *gin.Engine) {

	// 简单的路由组: v1
	v1 := r.Group("/v1")
	{
		v1.POST("/CreateGood", api.CreateGood)
		v1.POST("/submit")
		v1.POST("/read")
	}
}
